/*
 * Copyright 2017-2101 Innel.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.hykj.xxltest.model;

import com.hykj.xxltest.base.BaseModel;

import java.util.Date;


/**
 * 用户积分变化记录
 * 
 * @author innel
 * @email 2638086622@qq.com
 * @date 2018-04-07 10:33:01
 */
public class UserPointHistoryModel extends BaseModel {
	
    /**
     * 
     */
	private Integer id;
    /**
     * 
     */
	private Date createTime;
    /**
     * 用户
     */
	private Integer userId;
    /**
     * 变更的积分
     */
	private Integer changePoints;
    /**
     * 剩余积分
     */
	private Integer remainPoints;
    /**
     * 备注
     */
	private String memo;

	private String userName;

	/**
	 * 设置：
	 */
	@Override
    public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	@Override
    public Integer getId() {
		return id;
	}
	/**
	 * 设置：
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：用户
	 */
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	/**
	 * 获取：用户
	 */
	public Integer getUserId() {
		return userId;
	}
	/**
	 * 设置：变更的积分
	 */
	public void setChangePoints(Integer changePoints) {
		this.changePoints = changePoints;
	}
	/**
	 * 获取：变更的积分
	 */
	public Integer getChangePoints() {
		return changePoints;
	}
	/**
	 * 设置：剩余积分
	 */
	public void setRemainPoints(Integer remainPoints) {
		this.remainPoints = remainPoints;
	}
	/**
	 * 获取：剩余积分
	 */
	public Integer getRemainPoints() {
		return remainPoints;
	}
	/**
	 * 设置：备注
	 */
	public void setMemo(String memo) {
		this.memo = memo;
	}
	/**
	 * 获取：备注
	 */
	public String getMemo() {
		return memo;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
}
